package face.pay.api.wechat.api;

import face.pay.api.wechat.service.IFaceCodeService;
import face.pay.util.ResultMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: zkj
 * @Date: 2019/7/26 15:36
 * @Description:微信刷脸凭证
 */
@RestController
@RequestMapping("/wxfacepay/api/")
public class ApiWxFaceAuth {


    @Autowired
    IFaceCodeService iFaceCodeService;

    @RequestMapping("/getWxpayFaceAuthInfo")
    public ResultMessage face_code(@RequestBody String dataJson){

        return iFaceCodeService.getWxpayFaceAuthInfo(dataJson);
    }


}
